package com.melody.rest.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 登录实体
 */

@Data
@ApiModel(description = "用户登录实体")
public class RestSysUser {

    @ApiModelProperty(value = "用户姓名",required = true)
    private String username;

    @ApiModelProperty(value = "密码",required = true)
    private String password;

    private List<String> resources;

}
